package com.game.gameshoppingcenter.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("")
public class AdminController {
//    @Autowired
//    private AdminService adminService;
    @RequestMapping("/toLogin")
    public String tologin(){
        return "Login/login";
    }
    @RequestMapping("/login")
    public String login(){
        return  "Home/home";
    }
    @RequestMapping("/toRegister")
    public String toRegister(){
        return "Register/register";
    }
    @RequestMapping("/register")
    public String register(){
        return  "Login/login";
    }
}
